package cn.exrick.xboot.base.dto

import cn.exrick.xboot.core.common.constant.CommonConstant
import com.baomidou.mybatisplus.annotation.TableField
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import lombok.Data
import lombok.experimental.Accessors
import java.math.BigDecimal
import javax.persistence.Column
import javax.persistence.Transient

@ApiModel("企业申请信息实体")
data  class EnterpriseUserDto(

        @ApiModelProperty("企业头像")
        val avatar: String? = CommonConstant.USER_DEFAULT_AVATAR,

        @ApiModelProperty("企业邮箱")
        val email: String? = "",

        @ApiModelProperty("区域id")
        val areaId: String? = "",

        @ApiModelProperty("区域详细信息")
        val addressDetail: String? = "",

        @ApiModelProperty("性别")
        val sex: String? = "",

        @ApiModelProperty("进入密码（6位）")
        @Transient
        @TableField(exist = false)
        var password: String? = "",

        /*----------------企业信息---------------*/

        @ApiModelProperty("企业名称")
        val companyName: String? = "",

        @ApiModelProperty("企业类型")
        val companyType: String? = "",

        @ApiModelProperty("组织机构代码")
        val organizingCode: String? = "",

        @ApiModelProperty("法定代表人姓名")
        val legalUsername: String? = "",

        @ApiModelProperty("法定代表人联系方式")
        val legalPhone: String? = "",

        @ApiModelProperty("注册时间")
        var registerTime: String = "",

        @ApiModelProperty("注册资本")
        var registerMoney: String = "",

        @ApiModelProperty("注册地址")
        var registerAddress: String = "",

        @ApiModelProperty("公司官网")
        var companyWebsite: String = "",

        @ApiModelProperty("法定代表人固定电话")
        val legalFixationPhone: String? = "",

        @ApiModelProperty("主营业务所属行业")
        val businessType: String? = "",

        @ApiModelProperty("生产经营范围")
        val businessScope: String? = "",

        @ApiModelProperty("手持营业执照照片（，分割）")
        val licensePic: String? = "",

        @ApiModelProperty("身份证照片")
        val identityCard: String? = "",

        @ApiModelProperty("身份证号码")
        val cardNum: String? = ""
)